cars = ["Audi", "bmw", "subaru", "toyota"]

for car in cars:
    if car == "bmw":
        print(car.upper())  # upper()  大写
    if car.lower() == "audi":  # lower() 忽略大小写
        print(f"A {car}")
    else:
        print(car.title())  # title()  首字母大写

# and -> &&  or -> ||

numbers = [1, 8, 4, 3, 7, 5]
if 1 in numbers and 2 in numbers:
    print("true12")
elif 1 in numbers and 9 in numbers:
    print("true19")
else:
    print("false")

if 6 not in numbers:
    print("6 not in")

"""
if:
elif:
elif:
……
……
elif:
else:
"""

players = []
if players:
    print("not empty")
else:
    print("empty")


